package entity;

public class CinemaHall {
    private String hallId;
    private String hallName;
    private int rows;
    private int seatsPerRow;

    public CinemaHall() {
    }

    public CinemaHall(String hallId, String hallName, int rows, int seatsPerRow) {
        this.hallId = hallId;
        this.hallName = hallName;
        this.rows = rows;
        this.seatsPerRow = seatsPerRow;
    }

    // Getter 和 Setter 方法
    public String getHallId() {
        return hallId;
    }

    public void setHallId(String hallId) {
        this.hallId = hallId;
    }

    public String getHallName() {
        return hallName;
    }

    public void setHallName(String hallName) {
        this.hallName = hallName;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public int getSeatsPerRow() {
        return seatsPerRow;
    }

    public void setSeatsPerRow(int seatsPerRow) {
        this.seatsPerRow = seatsPerRow;
    }

    @Override
    public String toString() {
        return "CinemaHall{" +
                "hallId='" + hallId + '\'' +
                ", hallName='" + hallName + '\'' +
                ", rows=" + rows +
                ", seatsPerRow=" + seatsPerRow +
                '}';
    }
}